<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: wheels::dm::iterpretor&lt; ITFC_TYPE, IMPL_TYPE &gt; 模板类 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../df/d8d/namespacewheels.html">wheels</a></li><li class="navelem"><a class="el" href="../../d8/d2d/namespacewheels_1_1dm.html">dm</a></li><li class="navelem"><a class="el" href="../../d5/db5/classwheels_1_1dm_1_1iterpretor.html">iterpretor</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="../../d9/de7/classwheels_1_1dm_1_1iterpretor-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">wheels::dm::iterpretor&lt; ITFC_TYPE, IMPL_TYPE &gt; 模板类 参考</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../dc/d64/interpretor_8hpp_source.html">interpretor.hpp</a>&gt;</code></p>
<div class="dynheader">
wheels::dm::iterpretor&lt; ITFC_TYPE, IMPL_TYPE &gt; 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dd/de2/classwheels_1_1dm_1_1iterpretor__coll__graph.png" border="0" usemap="#awheels_1_1dm_1_1iterpretor_3_01_i_t_f_c___t_y_p_e_00_01_i_m_p_l___t_y_p_e_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="awheels_1_1dm_1_1iterpretor_3_01_i_t_f_c___t_y_p_e_00_01_i_m_p_l___t_y_p_e_01_4_coll__map" id="awheels_1_1dm_1_1iterpretor_3_01_i_t_f_c___t_y_p_e_00_01_i_m_p_l___t_y_p_e_01_4_coll__map">
<area shape="rect" title=" " alt="" coords="5,5,217,640"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a7ecb49f9ca979cb18693671d1192635a" id="r_a7ecb49f9ca979cb18693671d1192635a"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7ecb49f9ca979cb18693671d1192635a">itfc_t</a> = typename std::remove_pointer&lt; typename std::decay&lt; ITFC_TYPE &gt;::type &gt;::type</td></tr>
<tr class="separator:a7ecb49f9ca979cb18693671d1192635a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c2b83bf894acec778e4bc1d23c037e2" id="r_a3c2b83bf894acec778e4bc1d23c037e2"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3c2b83bf894acec778e4bc1d23c037e2">impl_t</a> = typename std::remove_pointer&lt; typename std::decay&lt; IMPL_TYPE &gt;::type &gt;::type</td></tr>
<tr class="separator:a3c2b83bf894acec778e4bc1d23c037e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:af3dc703b19d681964df7c76dd7217fec" id="r_af3dc703b19d681964df7c76dd7217fec"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af3dc703b19d681964df7c76dd7217fec">iterpretor</a> ()</td></tr>
<tr class="separator:af3dc703b19d681964df7c76dd7217fec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a226e65cca9d8e0e505525a987ffd39fd" id="r_a226e65cca9d8e0e505525a987ffd39fd"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a226e65cca9d8e0e505525a987ffd39fd">~iterpretor</a> ()</td></tr>
<tr class="separator:a226e65cca9d8e0e505525a987ffd39fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2505d3913f9c0a69f06d391982851428" id="r_a2505d3913f9c0a69f06d391982851428"><td class="memTemplParams" colspan="2">template&lt;typename... Args&gt; </td></tr>
<tr class="memitem:a2505d3913f9c0a69f06d391982851428"><td class="memTemplItemLeft" align="right" valign="top">std::future&lt; typename itfc_t::ret_type &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a2505d3913f9c0a69f06d391982851428">execStrAsync</a> (const std::string &amp;str, Args &amp;&amp;...args)</td></tr>
<tr class="memdesc:a2505d3913f9c0a69f06d391982851428"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用用默认的接口执行任务  <br /></td></tr>
<tr class="separator:a2505d3913f9c0a69f06d391982851428"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6113238a5dd4a024db3aaed49e1056c" id="r_ac6113238a5dd4a024db3aaed49e1056c"><td class="memTemplParams" colspan="2">template&lt;typename... Args&gt; </td></tr>
<tr class="memitem:ac6113238a5dd4a024db3aaed49e1056c"><td class="memTemplItemLeft" align="right" valign="top">std::future&lt; typename itfc_t::ret_type &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#ac6113238a5dd4a024db3aaed49e1056c">execFuncAsync</a> (const std::string &amp;str, Args &amp;&amp;...args)</td></tr>
<tr class="memdesc:ac6113238a5dd4a024db3aaed49e1056c"><td class="mdescLeft">&#160;</td><td class="mdescRight">异步执行指定的函数  <br /></td></tr>
<tr class="separator:ac6113238a5dd4a024db3aaed49e1056c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29685029a10aee4ced983cebac506de8" id="r_a29685029a10aee4ced983cebac506de8"><td class="memTemplParams" colspan="2">template&lt;typename... Args&gt; </td></tr>
<tr class="memitem:a29685029a10aee4ced983cebac506de8"><td class="memTemplItemLeft" align="right" valign="top">std::future&lt; typename itfc_t::ret_type &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a29685029a10aee4ced983cebac506de8">execFAsync</a> (const std::string &amp;file, Args &amp;&amp;...args)</td></tr>
<tr class="memdesc:a29685029a10aee4ced983cebac506de8"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用用默认的接口执行任务  <br /></td></tr>
<tr class="separator:a29685029a10aee4ced983cebac506de8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af38152cd3900e7503893295dfdee2bea" id="r_af38152cd3900e7503893295dfdee2bea"><td class="memTemplParams" colspan="2">template&lt;typename Func_t , typename... Args&gt; </td></tr>
<tr class="memitem:af38152cd3900e7503893295dfdee2bea"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#af38152cd3900e7503893295dfdee2bea">execStringAsync</a> (const std::string &amp;str, Func_t &amp;&amp;func, Args &amp;&amp;...args) -&gt; std::future&lt; typename std::result_of&lt; Func_t(std::shared_ptr&lt; <a class="el" href="#a3c2b83bf894acec778e4bc1d23c037e2">impl_t</a> &gt;, const std::string &amp;, Args...)&gt;::type &gt;</td></tr>
<tr class="memdesc:af38152cd3900e7503893295dfdee2bea"><td class="mdescLeft">&#160;</td><td class="mdescRight">异步执行字符串脚本  <br /></td></tr>
<tr class="separator:af38152cd3900e7503893295dfdee2bea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b768f78326af2b98eb94cedd94674c5" id="r_a5b768f78326af2b98eb94cedd94674c5"><td class="memTemplParams" colspan="2">template&lt;typename Func_t , typename... Args&gt; </td></tr>
<tr class="memitem:a5b768f78326af2b98eb94cedd94674c5"><td class="memTemplItemLeft" align="right" valign="top">auto&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a5b768f78326af2b98eb94cedd94674c5">execFileAsync</a> (const std::string &amp;file, Func_t &amp;&amp;func, Args &amp;&amp;...args) -&gt; std::future&lt; typename std::result_of&lt; Func_t(std::shared_ptr&lt; <a class="el" href="#a3c2b83bf894acec778e4bc1d23c037e2">impl_t</a> &gt;, const std::string &amp;, Args...)&gt;::type &gt;</td></tr>
<tr class="memdesc:a5b768f78326af2b98eb94cedd94674c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">异步的执行脚本文件  <br /></td></tr>
<tr class="separator:a5b768f78326af2b98eb94cedd94674c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a58e7e3531a7099d6b1254a27ef093ecd" id="r_a58e7e3531a7099d6b1254a27ef093ecd"><td class="memTemplParams" colspan="2">template&lt;typename ... Params&gt; </td></tr>
<tr class="memitem:a58e7e3531a7099d6b1254a27ef093ecd"><td class="memTemplItemLeft" align="right" valign="top">static std::shared_ptr&lt; <a class="el" href="../../d5/db5/classwheels_1_1dm_1_1iterpretor.html">iterpretor</a>&lt; <a class="el" href="#a7ecb49f9ca979cb18693671d1192635a">itfc_t</a>, <a class="el" href="#a3c2b83bf894acec778e4bc1d23c037e2">impl_t</a> &gt; &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a58e7e3531a7099d6b1254a27ef093ecd">make_shared</a> (Params &amp;&amp;...args)</td></tr>
<tr class="memdesc:a58e7e3531a7099d6b1254a27ef093ecd"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造解释器对象并构造内部的具体实现对象  <br /></td></tr>
<tr class="separator:a58e7e3531a7099d6b1254a27ef093ecd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a329452e226bf20c5b7a809974a64210c" id="r_a329452e226bf20c5b7a809974a64210c"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="#a3c2b83bf894acec778e4bc1d23c037e2">impl_t</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a329452e226bf20c5b7a809974a64210c">pt_impl__</a></td></tr>
<tr class="memdesc:a329452e226bf20c5b7a809974a64210c"><td class="mdescLeft">&#160;</td><td class="mdescRight">具体引擎的实现对象，是C++和外部脚本引擎的接口.  <br /></td></tr>
<tr class="separator:a329452e226bf20c5b7a809974a64210c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;typename ITFC_TYPE, typename IMPL_TYPE&gt;<br />
class wheels::dm::iterpretor&lt; ITFC_TYPE, IMPL_TYPE &gt;</div>
<p class="definition">在文件 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html">interpretor.hpp</a> 第 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html#l00042">42</a> 行定义.</p>
</div><h2 class="groupheader">成员类型定义说明</h2>
<a id="a3c2b83bf894acec778e4bc1d23c037e2" name="a3c2b83bf894acec778e4bc1d23c037e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c2b83bf894acec778e4bc1d23c037e2">&#9670;&#160;</a></span>impl_t</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE , typename IMPL_TYPE &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../d5/db5/classwheels_1_1dm_1_1iterpretor.html">wheels::dm::iterpretor</a>&lt; ITFC_TYPE, IMPL_TYPE &gt;::impl_t = typename std::remove_pointer&lt; typename std::decay&lt; IMPL_TYPE &gt;::type &gt;::type</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html">interpretor.hpp</a> 第 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html#l00046">46</a> 行定义.</p>

</div>
</div>
<a id="a7ecb49f9ca979cb18693671d1192635a" name="a7ecb49f9ca979cb18693671d1192635a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ecb49f9ca979cb18693671d1192635a">&#9670;&#160;</a></span>itfc_t</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE , typename IMPL_TYPE &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../d5/db5/classwheels_1_1dm_1_1iterpretor.html">wheels::dm::iterpretor</a>&lt; ITFC_TYPE, IMPL_TYPE &gt;::itfc_t = typename std::remove_pointer&lt; typename std::decay&lt; ITFC_TYPE &gt;::type &gt;::type</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html">interpretor.hpp</a> 第 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html#l00045">45</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="af3dc703b19d681964df7c76dd7217fec" name="af3dc703b19d681964df7c76dd7217fec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3dc703b19d681964df7c76dd7217fec">&#9670;&#160;</a></span>iterpretor()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE , typename IMPL_TYPE &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d5/db5/classwheels_1_1dm_1_1iterpretor.html">wheels::dm::iterpretor</a>&lt; ITFC_TYPE, IMPL_TYPE &gt;::iterpretor </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html">interpretor.hpp</a> 第 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html#l00055">55</a> 行定义.</p>

</div>
</div>
<a id="a226e65cca9d8e0e505525a987ffd39fd" name="a226e65cca9d8e0e505525a987ffd39fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a226e65cca9d8e0e505525a987ffd39fd">&#9670;&#160;</a></span>~iterpretor()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE , typename IMPL_TYPE &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d5/db5/classwheels_1_1dm_1_1iterpretor.html">wheels::dm::iterpretor</a>&lt; ITFC_TYPE, IMPL_TYPE &gt;::~<a class="el" href="../../d5/db5/classwheels_1_1dm_1_1iterpretor.html">iterpretor</a> </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html">interpretor.hpp</a> 第 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html#l00056">56</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a29685029a10aee4ced983cebac506de8" name="a29685029a10aee4ced983cebac506de8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29685029a10aee4ced983cebac506de8">&#9670;&#160;</a></span>execFAsync()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE , typename IMPL_TYPE &gt; </div>
<div class="memtemplate">
template&lt;typename... Args&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::future&lt; typename itfc_t::ret_type &gt; <a class="el" href="../../d5/db5/classwheels_1_1dm_1_1iterpretor.html">wheels::dm::iterpretor</a>&lt; ITFC_TYPE, IMPL_TYPE &gt;::execFAsync </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>file</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Args &amp;&amp;...</td>          <td class="paramname"><span class="paramname"><em>args</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用用默认的接口执行任务 </p>
<dl class="tparams"><dt>模板参数</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Args[</td><td>I ],传递给执行器的参数类型表 </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">str[</td><td>I ], 要执行文件路径 </td></tr>
    <tr><td class="paramname">args[</td><td>IO ], 参数表 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回接口定义的参数类型 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html">interpretor.hpp</a> 第 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html#l00118">118</a> 行定义.</p>

</div>
</div>
<a id="a5b768f78326af2b98eb94cedd94674c5" name="a5b768f78326af2b98eb94cedd94674c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b768f78326af2b98eb94cedd94674c5">&#9670;&#160;</a></span>execFileAsync()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE , typename IMPL_TYPE &gt; </div>
<div class="memtemplate">
template&lt;typename Func_t , typename... Args&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">auto <a class="el" href="../../d5/db5/classwheels_1_1dm_1_1iterpretor.html">wheels::dm::iterpretor</a>&lt; ITFC_TYPE, IMPL_TYPE &gt;::execFileAsync </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>file</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Func_t &amp;&amp;</td>          <td class="paramname"><span class="paramname"><em>func</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Args &amp;&amp;...</td>          <td class="paramname"><span class="paramname"><em>args</em></span>&#160;) -&gt; std::future&lt; typename std::result_of&lt;Func_t( std::shared_ptr&lt;<a class="el" href="#a3c2b83bf894acec778e4bc1d23c037e2">impl_t</a>&gt; , const std::string&amp; , Args...)&gt;::type &gt;	</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>异步的执行脚本文件 </p>
<dl class="tparams"><dt>模板参数</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Func_t</td><td></td></tr>
  </table>
  </dd>
</dl>
<p>tparam Args, </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">file[</td><td>I ], </td></tr>
    <tr><td class="paramname">func[</td><td>I ], </td></tr>
    <tr><td class="paramname">args[</td><td>IO ], </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html">interpretor.hpp</a> 第 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html#l00163">163</a> 行定义.</p>

</div>
</div>
<a id="ac6113238a5dd4a024db3aaed49e1056c" name="ac6113238a5dd4a024db3aaed49e1056c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6113238a5dd4a024db3aaed49e1056c">&#9670;&#160;</a></span>execFuncAsync()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE , typename IMPL_TYPE &gt; </div>
<div class="memtemplate">
template&lt;typename... Args&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::future&lt; typename itfc_t::ret_type &gt; <a class="el" href="../../d5/db5/classwheels_1_1dm_1_1iterpretor.html">wheels::dm::iterpretor</a>&lt; ITFC_TYPE, IMPL_TYPE &gt;::execFuncAsync </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>str</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Args &amp;&amp;...</td>          <td class="paramname"><span class="paramname"><em>args</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>异步执行指定的函数 </p>
<dl class="tparams"><dt>模板参数</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Args</td><td>函数参数类型表 </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">str[</td><td>I ]， 函数名称 </td></tr>
    <tr><td class="paramname">args[</td><td>IO ]， 函数参数表 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html">interpretor.hpp</a> 第 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html#l00095">95</a> 行定义.</p>

</div>
</div>
<a id="a2505d3913f9c0a69f06d391982851428" name="a2505d3913f9c0a69f06d391982851428"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2505d3913f9c0a69f06d391982851428">&#9670;&#160;</a></span>execStrAsync()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE , typename IMPL_TYPE &gt; </div>
<div class="memtemplate">
template&lt;typename... Args&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::future&lt; typename itfc_t::ret_type &gt; <a class="el" href="../../d5/db5/classwheels_1_1dm_1_1iterpretor.html">wheels::dm::iterpretor</a>&lt; ITFC_TYPE, IMPL_TYPE &gt;::execStrAsync </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>str</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Args &amp;&amp;...</td>          <td class="paramname"><span class="paramname"><em>args</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用用默认的接口执行任务 </p>
<dl class="tparams"><dt>模板参数</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Args[</td><td>I ],传递给执行器的参数类型表 </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">str[</td><td>I ], 要执行的字符串 </td></tr>
    <tr><td class="paramname">args[</td><td>IO ], 参数表 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回接口定义的参数类型 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html">interpretor.hpp</a> 第 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html#l00075">75</a> 行定义.</p>

</div>
</div>
<a id="af38152cd3900e7503893295dfdee2bea" name="af38152cd3900e7503893295dfdee2bea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af38152cd3900e7503893295dfdee2bea">&#9670;&#160;</a></span>execStringAsync()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE , typename IMPL_TYPE &gt; </div>
<div class="memtemplate">
template&lt;typename Func_t , typename... Args&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">auto <a class="el" href="../../d5/db5/classwheels_1_1dm_1_1iterpretor.html">wheels::dm::iterpretor</a>&lt; ITFC_TYPE, IMPL_TYPE &gt;::execStringAsync </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>str</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Func_t &amp;&amp;</td>          <td class="paramname"><span class="paramname"><em>func</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Args &amp;&amp;...</td>          <td class="paramname"><span class="paramname"><em>args</em></span>&#160;) -&gt; std::future&lt; typename std::result_of&lt;Func_t( std::shared_ptr&lt;<a class="el" href="#a3c2b83bf894acec778e4bc1d23c037e2">impl_t</a>&gt; , const std::string&amp; , Args...)&gt;::type &gt;	</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>异步执行字符串脚本 </p>
<dl class="tparams"><dt>模板参数</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Func_t</td><td></td></tr>
  </table>
  </dd>
</dl>
<p>tparam Args, </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">str[</td><td>I ], </td></tr>
    <tr><td class="paramname">func[</td><td>I ], </td></tr>
    <tr><td class="paramname">args[</td><td>OI ], </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html">interpretor.hpp</a> 第 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html#l00140">140</a> 行定义.</p>

</div>
</div>
<a id="a58e7e3531a7099d6b1254a27ef093ecd" name="a58e7e3531a7099d6b1254a27ef093ecd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58e7e3531a7099d6b1254a27ef093ecd">&#9670;&#160;</a></span>make_shared()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE , typename IMPL_TYPE &gt; </div>
<div class="memtemplate">
template&lt;typename ... Params&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static std::shared_ptr&lt; <a class="el" href="../../d5/db5/classwheels_1_1dm_1_1iterpretor.html">iterpretor</a>&lt; <a class="el" href="#a7ecb49f9ca979cb18693671d1192635a">itfc_t</a>, <a class="el" href="#a3c2b83bf894acec778e4bc1d23c037e2">impl_t</a> &gt; &gt; <a class="el" href="../../d5/db5/classwheels_1_1dm_1_1iterpretor.html">wheels::dm::iterpretor</a>&lt; ITFC_TYPE, IMPL_TYPE &gt;::make_shared </td>
          <td>(</td>
          <td class="paramtype">Params &amp;&amp;...</td>          <td class="paramname"><span class="paramname"><em>args</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>构造解释器对象并构造内部的具体实现对象 </p>

<p class="definition">在文件 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html">interpretor.hpp</a> 第 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html#l00062">62</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a329452e226bf20c5b7a809974a64210c" name="a329452e226bf20c5b7a809974a64210c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a329452e226bf20c5b7a809974a64210c">&#9670;&#160;</a></span>pt_impl__</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ITFC_TYPE , typename IMPL_TYPE &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt; <a class="el" href="#a3c2b83bf894acec778e4bc1d23c037e2">impl_t</a> &gt; <a class="el" href="../../d5/db5/classwheels_1_1dm_1_1iterpretor.html">wheels::dm::iterpretor</a>&lt; ITFC_TYPE, IMPL_TYPE &gt;::pt_impl__</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>具体引擎的实现对象，是C++和外部脚本引擎的接口. </p>

<p class="definition">在文件 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html">interpretor.hpp</a> 第 <a class="el" href="../../dc/d64/interpretor_8hpp_source.html#l00051">51</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>include/designM/<a class="el" href="../../dc/d64/interpretor_8hpp_source.html">interpretor.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
